snapcraft checks only default branch for submodules
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Let's say we have a repository that has a folder with a dependency on it's default branch, but on the required branch/commit it's no more a folder, but a submodule. Expected behavior is to pull this submodule, but snapcraft pulls only those existing on default branch. I specify the commit using source-commit and source-depth: 1.
Evaluation history
No evaluation history available.